/*! \file string.h
 *	\brief <write description for string.h>
 *
 *	created:	2009/11/10
 *	created:	10:11:2009   17:06
 *	filename: 	c:\src\main\libs\core\string.h
 *	file path:	c:\src\main\libs\core
 *	file base:	string
 *	file ext:	h
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

#ifndef _CORE_STRING_H_
#define _CORE_STRING_H_

#pragma once

#include <string>

namespace tt{

typedef std::string::value_type CharA;
typedef std::wstring::value_type CharW;

typedef std::string StringA;
typedef std::wstring StringW;

#ifdef _UNICODE
    typedef CharW Char;
    typedef StringW String;
#else
    typedef CharA Char;
    typedef StringA String;
#endif

#ifdef _UNICODE
#   define TT_TEXT(__characters__)L#__characters__
#else
#   define TT_TEXT(__characters__)__characters__
#endif

} //namespace tt

#endif //_CORE_STRING_H_